package cn.zysuyuan.user.api;

import cn.zysuyuan.common.entity.DataResult;
import cn.zysuyuan.user.entity.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2019-11-26 9:37
 */
@RequestMapping("user")
public interface UserApi {

    @GetMapping("query")
    public User selectUser(@RequestParam(value = "username",required = false)String uName, @RequestParam(value = "password", required = false)String uPass);
}
